﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/PMAdmin.Master" 
CodeBehind="OrderForm.aspx.cs" Inherits="PM.Site.Admin.OrderForm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div style="text-align:left; margin-left:400px;">
        <asp:ValidationSummary ID="valsCustomerDetails" runat="server" ValidationGroup="g1" />
    </div>
    
    <div class ="form_left">
        <table>
            <tr>
                <td>
                    *Order Id:
                </td>
                <td>
                    <asp:TextBox ID="txtOrderId" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    *Client Id:
                </td>
                <td>
                    <asp:TextBox ID="txtClientId" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    *Security Id:
                </td>
                <td>
                    <asp:TextBox ID="txtSecurityId" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    Original Quantity:
                </td>
                <td>
                    <asp:TextBox ID="txtOriginalQty" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    Price:
                </td>
                <td>
                    <asp:TextBox ID="txtPrice" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                     Order Date and Time:
                </td>
                <td>
                    <asp:TextBox ID="txtOrderDateTime" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    Order Type:
                </td>
                <td>
                    <asp:TextBox ID="txtOrderType" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    Broker:
                </td>
                <td>
                    <asp:TextBox ID="txtBrokerRef" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    TIF:
                </td>
                <td>
                    <asp:TextBox ID="txtTIF" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    TIF Days:
                </td>
                <td>
                    <asp:TextBox ID="txtTIFDays" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    Lot Type:
                </td>
                <td>
                    <asp:TextBox ID="txtLotType" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    Original Order Id:
                </td>
                <td>
                    <asp:TextBox ID="txtOriginalOrderId" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    Transaction Id:
                </td>
                <td>
                    <asp:TextBox ID="txtTranId" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    Buy Or Sell:
                </td>
                <td>
                   
                    <asp:DropDownList ID="ddlBuySell" runat="server">
                        <asp:ListItem Value="S">Sell</asp:ListItem>
                        <asp:ListItem Value="B">Buy</asp:ListItem>
                    </asp:DropDownList>                                    
                </td>               
            </tr>
            
            <tr>
                <td>
                    Minimum Fill Quantity:
                </td>
                <td>
                    <asp:TextBox ID="txtMinFillQty" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    Foreign Broker:
                </td>
                <td>
                    <asp:TextBox ID="txtForeignBroker" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    Trade Id:
                </td>
                <td>
                    <asp:TextBox ID="txtTradeId" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            <tr>
                <td>
                    Broker Office:
                </td>
                <td>
                    <asp:TextBox ID="txtBrokerOffice" runat="server" TextMode="SingleLine"></asp:TextBox>
                </td>               
            </tr>
            
            
            
            <tr>
                <td>
                    <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" ValidationGroup="g1" />
                </td>
            </tr>            
            
    
        </table>
    </div>
</asp:Content>
